home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / hal / fdi / policy / 10osvendor / 10-keymap.fdi < prev    next >
Encoding:
Extensible Markup Language  |  2009-07-05  |  894 b   |  24 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
  2. <deviceinfo version="0.2">
  3.   <device>
  4.     <match key="info.capabilities" contains="input.keymap">
  5.       <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
  6.     </match>
  7.  
  8.     <match key="info.capabilities" contains="input.keys">
  9.       <merge key="input.xkb.rules" type="string">base</merge>
  10.  
  11.       <!-- If we're using Linux, we use evdev by default (falling back to
  12.            keyboard otherwise). -->
  13.       <merge key="input.xkb.model" type="string">keyboard</merge>
  14.       <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
  15.              string="Linux">
  16.         <merge key="input.xkb.model" type="string">evdev</merge>
  17.       </match>
  18.  
  19.       <merge key="input.xkb.layout" type="string">us</merge>
  20.       <merge key="input.xkb.variant" type="string" />
  21.     </match>
  22.   </device>
  23. </deviceinfo>
  24.